
log =
{
  //pattern   = "*.info";
  pattern   = "-";
  file      = "-"; //$(CASE_NAME).log";
  errPrefix = "*** ERROR(%p): ";
};


control =
{
  fgMode = true; //foreground mode
};


input =
{
  file = "PhaseField.dat";
};


bndgen =
{
  makeElements   = true;
  makeBoundaries = false;
  addToGroup     = "boundary";
};


shapeTable = "Auto"
{
  boundaryElems = "boundary";
};

model = "Matrix"
{
  matrix = "FEM"
  {
    symmetric = true;
  };

  model  = "Multi"
  {
    //models = [ "solid" , "load" , "disp" ];
    models = [ "solid" , "load" ];

    solid = "Elastic"
    {
      elements = "internal";

      shape    = "Quad4"
      {
        intScheme = "2 * 2";
      };
    };

    load = "Load"
    {
      elements = "Crack_1";
      dofs     = "ds";
      load     = "3e9 * i";
    };
/*    disp = "LoadScale"
    {
      scaleFunc = "0.5 * i";

      model     = "Constraints"
      {
        conTable = "phasefield";
      };
     }; */
  };
};


nonlin =
{
  precision = 1.e-3;
  // The nonlinear solver.

  solver = "CG"
  {
    noiseLevel    = 1;
    printInterval = 1.0;
    precon        = "ILUd" {};
  };
};

extra =
{
  //modules = [ "view", "output","graph" ];
  modules = [ "view", "output" ];

  view = "FemView"
  {

    window	= 
    {
        bgColor	= "white";
        width	= 500;
        height	= 500;
    };

    world.translation	= [ -1.00000, -1.00000, 0.00000 ];


    dataSets = [ "phasefield" ];

    camera.quality = 8;
    camera.zoom	= -2;

    lights.light0.color = "white40";

    phasefield =
    {
      type = "Vector";
      vector = "state";
    };

    plugins = [ "mesh2" ];

    mesh =
    {
      deformation = "1.0 * phasefield";
      plugins     = ["colors","nodes"];

      colors = "MeshColorView"
      {
        data    = "phasefield[ds]";
        palette = "rainbow";
      };
      nodes = "MeshNodeView"
      {
	nodes = ["Crack_1:orbs","Crack_1:numbers"];
      };

    };

    mesh2 = "MeshView"
    {
      elements = "internal";
    };
  };

  output = "Output"
  {
    file    = "$(CASE_NAME).out";
    vectors = "state";
  };

/*   graph= "Graph"
  {
    dataSets = [ "dummy" ];
	dummy = 
	{
	  xData    = "i";
    	  yData = "dummy";
	};
  };
*/
};


